<template>
  <div class="flex items-center mb-6px">
    <el-divider direction="vertical" content-position="left" class="_divider" />
    <span :class="textClass">{{ props.title }}</span>
    <slot></slot>
  </div>
</template>

<script setup lang="ts">
const props = defineProps({
  title: {
    type: String,
    default: ''
  },
  textClass: {
    type: String,
    default: ''
  }
})
</script>

<style scoped>
._divider {
  border-left: 5px solid #3177fd !important;
}
</style>